import Vue from 'vue'
import Router from 'vue-router'
import Layout from '@/views/Layout/Layout'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/index',
      component: Layout,
      children: [
        {
          path: 'index',
          component: () => import('@/views/Index/Index')
        }
      ]
    }
  ]
})
